Skip to content

Fix shortcut expansion in Python jgo#55

Closed
hanslovsky wants to merge 2 commits intomainfrom
python-shortcut-expansion
Closed

Fix shortcut expansion in Python jgo#55
hanslovsky wants to merge 2 commits intomainfrom
python-shortcut-expansion

Conversation

@hanslovsky
Copy link
Contributor

Fixes #46 but still WIP

@ctrueden
Copy link
Member

This issue is fixed in the redesigned jgo, now on the main branch:

$ grep temp ~/.config/jgo.conf
temp = org.codehaus.groovy:groovy-groovysh:org.codehaus.groovy.tools.shell.Main+commons-cli:commons-cli:1.3.1

$ jgo -v temp
INFO     Expanded shortcut: temp → org.codehaus.groovy:groovy-groovysh:org.codehaus.groovy.tools.shell.Main+commons-cli:commons-cli:1.3.1                                                                                                          
INFO     Building environment for org.codehaus.groovy:groovy-groovysh:org.codehaus.groovy.tools.shell.Main+commons-cli:commons-cli:1.3.1...                                                                                                        
INFO     Running Java application...                                                                                                                                                                                                               
Obtaining Java 8 automatically...
Using Java 8 (zulu) at /home/curtis/.cache/cjdk/v0/jdks/6b2faeb2a1f5c8352cdbbef6a0c0bfcfa8784128/zulu8.90.0.19-ca-jdk8.0.472-linux_x64/bin/java
/home/curtis/.cache/cjdk/v0/jdks/6b2faeb2a1f5c8352cdbbef6a0c0bfcfa8784128/zulu8.90.0.19-ca-jdk8.0.472-linux_x64/bin/java -XX:+UseG1GC -Xmx15G -cp /home/curtis/.cache/jgo/org/codehaus/groovy/groovy-groovysh/4eca1e7678b31edd/jars/*:/home/curtis/.cache/jgo/org/codehaus/groovy/groovy-groovysh/4eca1e7678b31edd/modules/* org.codehaus.groovy.tools.shell.Main
Groovy Shell (3.0.25, JVM: 1.8.0_472)
Type ':help' or ':h' for help.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
groovy:000> % 

@ctrueden ctrueden closed this Dec 30, 2025
@ctrueden ctrueden deleted the python-shortcut-expansion branch January 1, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shortcuts expansion can fail with Python version

2 participants